package com.fhnew.app.model.network.entity.req;


/**
 * Created by Administrator on 2017/8/16.
 * 返回体基类
 */
public class BaseRes<T> {
    public static final String STATUS_SUCCESS = "0";
    public static final String STATUS_NEED_LOGIN = "99";

    public String msg;
    public int code;
    //    public boolean success;
    public T data;

    public T getData() {
        return data;
    }

    @Override
    public String toString() {
        return "BaseRes{" +
                "msg='" + msg + '\'' +
                "code='" + code + '\'' +
                ", data=" + data +
                '}';
    }
}
